package a_obsolete;

/**
 * Drug
 * Holds the information for a particular drug
 *
 *
 *  Date           	Name            	Action
 *  --------------------------------------------------------------------------------------
 *	03/06/11		Bethany				Created Class
 *
 *
 *
 */

public class Drug implements BillableItem {
	
	private String name;
	private double cost;

	/**
	 * Drug Constructor
	 * @param name The name of the drug
	 * @param Cost The cost of the drug
	 */
	public Drug(String name, double cost){
		this.name = name;
		this.cost = cost;
	}
	
	/**
	 * Gets the cost of the drug
	 * @return Cost of the drug
	 */
	@Override
	public double getCost() {
		return this.cost;
	}

	/**
	 * Gets the name of the drug
	 * @return The name of the drug
	 */
	@Override
	public String getName() {
		return this.name;
	}

}
